package com.itqf.service.impl;

import com.itqf.dao.DepartmentDAO;
import com.itqf.entity.Department;
import com.itqf.service.DepartmentService;

/**
 * 姓名：刘珈麟
 * 项目名：spring-01
 * 日期：2021/6/27
 * 描述：
 */

public class DepartmentServiceImpl implements DepartmentService {
    private DepartmentDAO departmentDAO;
    @Override
    public Department queryDeptId(Integer id) {
        return departmentDAO.queryDeptId(id);
    }

    public void setDepartmentDAO(DepartmentDAO departmentDAO) {
        this.departmentDAO = departmentDAO;
    }
}
